package com.lq.educationsystem.lqclasses.service;


import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultPage;
import com.lq.educationsystem.common.vo.ClassesPageVo;
import com.lq.educationsystem.lqclasses.entiy.ClassesTb;

import java.util.List;

public interface ClassesBaseService {
    void insertInfo(ClassesTb classesInfo);


    void deleteById(Integer classesId);

    void updateInfo(ClassesTb classesInfo);

    /**
     * 通过课程id查询
     * @param classesId
     * @return
     */
    Result<ClassesTb> queryById(Integer classesId);

    ResultPage<ClassesTb> queryList(ClassesPageVo classesInfo);

    /**
     * 通过课程id批量查询课程信息
     * @param classesIdList
     * @return
     */
    ResultPage<ClassesTb> queryClassesInfoByClassesId(List<Integer> classesIdList);
}
